package com.dominator.service;

import com.dominFramework.core.typewrap.Dto;
import com.dominator.utils.api.ApiMessage;
import com.dominator.utils.exception.ApiException;

public interface ApiMachineService {


    /**
     * 机器登录
     * @param dto
     * @return
     * @throws ApiException
     */
    ApiMessage machineLogin(Dto dto)throws ApiException;



    /**
     * 机器登出
     * @param dto
     * @return
     * @throws ApiException
     */
    ApiMessage machineLogout(Dto dto)throws ApiException;


    /**
     * 发送给机器
     * @param dto
     * @return
     * @throws ApiException
     */
    ApiMessage sendToMachineId(Dto dto)throws ApiException;
}
